Optimal. Leaf size=136 \[ \frac{2 (b+2 c x) (-3 b e g+2 c d g+4 c e f)}{3 e (2 c d-b e)^3 \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}}-\frac{2 (e f-d g)}{3 e^2 (d+e x) (2 c d-b e) \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.144947, antiderivative size = 136, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 44, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.045, Rules used = {792, 613} \[ \frac{2 (b+2 c x) (-3 b e g+2 c d g+4 c e f)}{3 e (2 c d-b e)^3 \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}}-\frac{2 (e f-d g)}{3 e^2 (d+e x) (2 c d-b e) \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 792
Rule 613
Rubi steps
\begin{align*} \int \frac{f+g x}{(d+e x) \left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{3/2}} \, dx &=-\frac{2 (e f-d g)}{3 e^2 (2 c d-b e) (d+e x) \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}}+\frac{(4 c e f+2 c d g-3 b e g) \int \frac{1}{\left (c d^2-b d e-b e^2 x-c e^2 x^2\right )^{3/2}} \, dx}{3 e (2 c d-b e)}\\ &=\frac{2 (4 c e f+2 c d g-3 b e g) (b+2 c x)}{3 e (2 c d-b e)^3 \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}}-\frac{2 (e f-d g)}{3 e^2 (2 c d-b e) (d+e x) \sqrt{d (c d-b e)-b e^2 x-c e^2 x^2}}\\ \end{align*}
Mathematica [A] time = 0.121711, size = 149, normalized size = 1.1 \[ \frac{2 b^2 e^2 (2 d g+e (f+3 g x))+4 b c e \left (d^2 g+d e (2 g x-4 f)+e^2 x (3 g x-2 f)\right )-8 c^2 \left (d^2 e (g x-f)+d^3 g+d e^2 x (2 f+g x)+2 e^3 f x^2\right )}{3 e^2 (d+e x) (b e-2 c d)^3 \sqrt{(d+e x) (c (d-e x)-b e)}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.009, size = 228, normalized size = 1.7 \begin{align*} -{\frac{ \left ( 2\,cex+2\,be-2\,cd \right ) \left ( 6\,bc{e}^{3}g{x}^{2}-4\,{c}^{2}d{e}^{2}g{x}^{2}-8\,{c}^{2}{e}^{3}f{x}^{2}+3\,{b}^{2}{e}^{3}gx+4\,bcd{e}^{2}gx-4\,bc{e}^{3}fx-4\,{c}^{2}{d}^{2}egx-8\,{c}^{2}d{e}^{2}fx+2\,{b}^{2}d{e}^{2}g+{b}^{2}{e}^{3}f+2\,bc{d}^{2}eg-8\,bcd{e}^{2}f-4\,{c}^{2}{d}^{3}g+4\,{c}^{2}{d}^{2}ef \right ) }{ \left ( 3\,{b}^{3}{e}^{3}-18\,{b}^{2}cd{e}^{2}+36\,b{c}^{2}{d}^{2}e-24\,{c}^{3}{d}^{3} \right ){e}^{2}} \left ( -c{e}^{2}{x}^{2}-b{e}^{2}x-bde+c{d}^{2} \right ) ^{-{\frac{3}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 44.0539, size = 810, normalized size = 5.96 \begin{align*} \frac{2 \, \sqrt{-c e^{2} x^{2} - b e^{2} x + c d^{2} - b d e}{\left (2 \,{\left (4 \, c^{2} e^{3} f +{\left (2 \, c^{2} d e^{2} - 3 \, b c e^{3}\right )} g\right )} x^{2} -{\left (4 \, c^{2} d^{2} e - 8 \, b c d e^{2} + b^{2} e^{3}\right )} f + 2 \,{\left (2 \, c^{2} d^{3} - b c d^{2} e - b^{2} d e^{2}\right )} g +{\left (4 \,{\left (2 \, c^{2} d e^{2} + b c e^{3}\right )} f +{\left (4 \, c^{2} d^{2} e - 4 \, b c d e^{2} - 3 \, b^{2} e^{3}\right )} g\right )} x\right )}}{3 \,{\left (8 \, c^{4} d^{6} e^{2} - 20 \, b c^{3} d^{5} e^{3} + 18 \, b^{2} c^{2} d^{4} e^{4} - 7 \, b^{3} c d^{3} e^{5} + b^{4} d^{2} e^{6} -{\left (8 \, c^{4} d^{3} e^{5} - 12 \, b c^{3} d^{2} e^{6} + 6 \, b^{2} c^{2} d e^{7} - b^{3} c e^{8}\right )} x^{3} -{\left (8 \, c^{4} d^{4} e^{4} - 4 \, b c^{3} d^{3} e^{5} - 6 \, b^{2} c^{2} d^{2} e^{6} + 5 \, b^{3} c d e^{7} - b^{4} e^{8}\right )} x^{2} +{\left (8 \, c^{4} d^{5} e^{3} - 28 \, b c^{3} d^{4} e^{4} + 30 \, b^{2} c^{2} d^{3} e^{5} - 13 \, b^{3} c d^{2} e^{6} + 2 \, b^{4} d e^{7}\right )} x\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{f + g x}{\left (- \left (d + e x\right ) \left (b e - c d + c e x\right )\right )^{\frac{3}{2}} \left (d + e x\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \left [\mathit{undef}, \mathit{undef}, \mathit{undef}, 1\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]